package cn.powertime.evaluation.mapper;

import cn.powertime.evaluation.entity.CpsTopic;
import cn.powertime.evaluation.vo.RespTopicListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 习题表 Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
public interface CpsTopicMapper extends BaseMapper<CpsTopic> {

    /**
     * 查询所有习题
     *
     * @param userId 用户id
     * @return List
     */
    List<RespTopicListVo> selectTopiclist(@Param("userId") Long userId);

}
